From: Joey Hess Date: Thu, 9 Jan 2025 16:07:23 +0000 (-0400) Subject: comment X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~10^2~23 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=726f801946d897e8da0ecbe2aaa297f3a68296a2;p=git-annex.git comment --- diff --git a/doc/bugs/keeps_trying_to_commit_file_unlocked/comment_4_926f3d02aa5044497af4fc88a8ecefa6._comment b/doc/bugs/keeps_trying_to_commit_file_unlocked/comment_4_926f3d02aa5044497af4fc88a8ecefa6._comment new file mode 100644 index 0000000000..c54196e4d7 --- /dev/null +++ b/doc/bugs/keeps_trying_to_commit_file_unlocked/comment_4_926f3d02aa5044497af4fc88a8ecefa6._comment @@ -0,0 +1,19 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 4""" + date="2025-01-09T15:58:54Z" + content=""" +Getting a file into this state can be done like this: + + echo bar > foo + git-annex add + echo '.git/annex/objects/g7/9v/SHA256E-s4--7d865e959b2466918c9863afca942d0fb89d7c9ac0c99bafc3749504ded97730/SHA256E-s4--7d865e959b2466918c9863afca942d0fb89d7c9ac0c99bafc3749504ded97730' > foo + git add foo + git commit -m foo + git reset --hard + git status + git diff + +How the symlink bit might have gotten lost in real life, I don't know +though. +"""]]